val lines = sc.textFile("file:/home/gaojie/bigdata/week3/hw7/chapter5-data1.txt")
val par = lines.map(row=>row.split(",")(0))
val distinct = par.distinct()
print(distinct.count)